package cn.iot.sys.service;

import cn.iot.common.dto.ResultMsg;
import cn.iot.sys.entity.SysClass;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

public interface SysClassService {
    public ResultMsg getSysClassList(Map<String, Object> params);
    public ResultMsg addSysClass(SysClass sysClass);
    public ResultMsg delSysClassById(int id);
    public ResultMsg getSysClass();
    public ResultMsg viewSysClassById(int id);
    public ResultMsg updSysClassById(SysClass sysClass);
    public ResultMsg updStatusById(SysClass sysClass);
    public ResultMsg getClassByName(String name);
    public ResultMsg uploadClassInfo(MultipartFile file);
    public ResultMsg getSysClassByName(String name);
}
